﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using H2.NET.Controls;
using H2.NET.Business;
using H2.NET.Data.Common;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Web.Pages
{
    public partial class GV : TaskPage
    {
        #region 事件 页面加载
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        #endregion

        #region 获取处理人
        protected void aaa_Click(object sender, EventArgs e)
        {
            List<m_SalesOrg> m_s_l = (List<m_SalesOrg>)GVU1.gv_TC.DataSource;

            for (int i = 0; i < 6; i++ )
            {
                TaskAPI ta = new TaskAPI();
                ta.Load("S011910ff9cdc54b9f4fb58d294a943");
                ta.UserName = "apacdom/zhongy13";
                ta["处理人"] = new string[3] { "apacdom/a1", "apacdom/a2", "apacdom/a3" };
                ta.Send();
            }
        }
        #endregion

        #region 获取时间
        protected void Timer1_Tick(object sender, EventArgs e)
        {
            TaskDB.Log("", false, System.DateTime.Now.ToString("yyyyMMddHHmmss"));
        }
        #endregion
    }
}
